From a148f0e67dee472f185cf66b11fbc6cdc90a1804 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 9 Mar 2010 12:29:10 +0000 Subject: [PATCH] x86: Disable VCPUOP_register_vcpu_time_memory_area. Its implementation is buggy and causes memory corruption. Signed-off-by: Keir Fraser --- xen/arch/x86/domain.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xen/arch/x86/domain.c b/xen/arch/x86/domain.c index 0ead1a1985..d20487f8d9 100644 --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -970,6 +970,11 @@ arch_do_vcpu_op( break; } + /* + * XXX Disable for 4.0.0: __update_vcpu_system_time() writes to the given + * virtual address even when running in another domain's address space. + */ +#if 0 case VCPUOP_register_vcpu_time_memory_area: { struct vcpu_register_time_memory_area area; @@ -988,6 +993,7 @@ arch_do_vcpu_op( break; } +#endif case VCPUOP_get_physid: { -- 2.30.2